namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("UserInfo")]
    public partial class UserInfo
    {
        public int UserInfoId { get; set; }

        [StringLength(10)]
        public string UserName { get; set; }

        [StringLength(16)]
        public string UserPwd { get; set; }

        [StringLength(11)]
        public string UserTel { get; set; }

        [StringLength(10)]
        public string UserNum { get; set; }

        [StringLength(6)]
        public string UserInvite { get; set; }

        public int? RoleId { get; set; }

        public virtual Roles Roles { get; set; }
    }
}
